package com.itheima.service.store;

import com.itheima.domain.store.Address;
import com.itheima.domain.store.City;
import com.itheima.domain.store.Company;

import java.util.List;

/**
 * @param
 * @return
 */
public interface CompanyService {
    List<Company> findByPage(int pageNum, int pageSize);

    List<City> findAllCity();

    List<Address> findAddressById(int id);

    int save(Company company);

    Company findCompanyById(String id);

    int update(Company company);

    int deleteById(String id);
}
